package com.newidea.jiangong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(title = "机房监控数据")
@TableName("machine_monitor")
@Data
public class MachineMonitor {

    @Schema(title = "主键")
    @TableId(type = IdType.AUTO)
    private String id;
    @Schema(title = "项目id")
    private String projectId;
    @Schema(title = "项目名称")
    private String projectName;
    @Schema(title = "设备名称")
    private String deviceName;
    @Schema(title = "时间")
    private String dt;

    @Schema(title = "一次供水温度")
    private String oneColumn1;
    @Schema(title = "一次回水温度")
    private String oneColumn2;
    @Schema(title = "一次供水压力")
    private String oneColumn3;
    @Schema(title = "一次回水压力")
    private String oneColumn4;
    @Schema(title = "一次温度温差")
    private String oneTemBad;
    @Schema(title = "一次压差")
    private String oneStressBad;

    @Schema(title = "二次供水温度")
    private String twoColumn1;
    @Schema(title = "二次回水温度")
    private String twoColumn2;
    @Schema(title = "二次供水压力")
    private String twoColumn3;
    @Schema(title = "二次温差")
    private String twoColumn4;
    @Schema(title = "二次温差")
    private String twoTemBad;
    @Schema(title = "二次压差")
    private String twoStressBad;

    @Schema(title = "供热面积")
    private String supplyHeatArea;

    @Schema(title = "数据所属公司", description = "目前只有：大屯、建邦枫景")
    private String company;
    @Schema(title = "采集时间")
    private String createTime;
    @Schema(title = "是否是最新的数据")
    private boolean newest;
}

